/*
 * Global style
 */
body {
  min-width: 1010px;
  min-height: 700px;
  background-color: #f8f8f8;
}

/* Navbar */
.navbar {
  position: absolute;
  top: 0;
  left: 200px;
  right: 0;
  margin: 0;
  z-index: 1010;
}
.no-navbar .navbar {
  display: none;
}
/* Toolbar */
.navbar-nav .toolbar {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 10px;
  background-color: #f8f8f8;
  z-index: 1000;
}
.toolbar>.extendbar,
.toolbar>.btn-group+.btn-group,
.toolbar>.extendbar>.btn-group+.btn-group {
  margin-left: 4px;
}
.toolbar>.extendbar {
  display: inline-block;
  vertical-align: middle;
}
.navbar-nav .toolbar .dropdown-menu {
  z-index: 1050;
}
.toolbar .input-group .dropdown-menu>li>a,
.toolbar .btn-group .dropdown-menu>li>a {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* Menubar */
.menubar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 200px;
  background-color: #252830;
  z-index: 1030;
  transition: width 0.3s ease-out;
}
.menubar .navbar-header {
  float: none;
  border-bottom: 1px solid #333;
  white-space: nowrap;
  overflow: hidden;
}
.menubar .navbar-brand {
  padding-top: 12px;
  padding-left: 20px;
  padding-bottom: 12px;
  color: #3498db;
}
.menubar .search-box {
  border-bottom: 1px solid #333;
}
.menubar .search-box:before {
  transform: scale3d(0, 0, 1) !important;
}
.menubar .search-box .search-btn {
  display: none;
}
.menubar .sidebar-nav>ul {
  display: none;
  transition: none;
}
.menubar li > a {
  transition: none;
}
.menubar .metismenu li a {
  padding: 12px 18px;
  white-space: nowrap;
  overflow: hidden;
}
.menubar .metismenu>li>ul {
  display: none !important;
  position: absolute;
  top: 0;
  left: 100%;
  background-color: #fff;
}
.menubar .metismenu ul a {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  padding-left: 30px !important;
  color: #333 !important;
  background-color: #fff !important;
}
.menubar .metismenu ul a:hover,
.menubar .metismenu ul a:active {
  color: #262626 !important;
  background-color: #f5f5f5 !important;
}
.menubar .metismenu>li.mm-active>ul {
  display: block !important;
  min-width: 210px;
  height: auto !important;
}
.menubar .metismenu ul ul.dropdown-menu {
  position: absolute;
  min-width: 180px;
  height: auto !important;
  background-color: #fff;
  transition: none !important;
}
.menubar .sidebar-toggle {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 41px;
  border-top: 1px solid #333;
  background-color: #252830;
}
.menubar .sidebar-toggle>a {
  display: block;
  padding: 0 18px;
  height: 40px;
  line-height: 40px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
}

/* Security */
.security-modal+.security-modal {
  display: none !important;
}
.security-modal .modal-body form {
  margin-bottom: 5px;
}
.security .modal-body .captcha {
  text-align: center;
}
.security .modal-body .captcha>img {
  cursor: pointer;
}
.security .modal-body button {
  background-color: #ddd;
}

/* Dialog */
.modal-dialog>.modal-content {
  height: 100%;
}
.modal-header .resize {
  float: right;
  margin-right: 15px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  opacity: 0.2;
}
.modal-header .resize:hover,
.modal-header .resize:focus {
  opacity: 0.5;
}
.modal-body>p,
.modal-body>.editor>pre,
.modal-body>.table:last-child,
.modal-body>.form-group:last-child,
.modal-body>.form-group>pre {
  margin-bottom: 0;
}
.modal-body>.form-group .checkbox,
.modal-body>.form-group .checkbox-inline {
  padding-top: 0;
  min-height: auto;
}
.modal-footer .btn+.btn-group,
.modal-footer .btn-group+.btn {
  margin-left: 5px;
  margin-bottom: 0;
}
.modal.fullscreen {
  overflow: hidden;
}
.modal.fullscreen .modal-dialog .editor {
  height: 100%;
}
.modal.fullscreen .modal-dialog .editor>pre {
  height: 100% !important;
}
@media (min-width: 768px) {
  .form-horizontal>.modal-body .control-label {
    padding-left: 0;
  }
  .modal.fullscreen .modal-dialog {
    margin: 0;
    width: auto !important;
    height: 100%;
  }
}
@media (max-height: 700px) {
  .modal.fullscreen .modal-dialog {
    height: 680px;
  }
}
.files-history .modal-dialog table {
  table-layout: fixed;
  word-break: break-all;
  word-wrap: break-word;
}
@media (max-width: 1280px) {
  .files-history .modal-lg {
    margin: 10px;
    width: auto;
  }
}
@media (min-width: 1280px) {
  .files-history .modal-lg {
    width: 1260px;
  }
}

/*
 * Workbench
 */
.workbench {
  position: absolute;
  top: 51px;
  right: 0;
  bottom: 0;
  left: 200px;
}
.no-navbar .workbench {
  top: 0;
}
.workbench .main {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 41px;
  left: 0;
  z-index: 1000;
}
.workbench.no-statusbar .main {
  bottom: 0;
}

/* Sidebar */
.workbench .sidebar {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  overflow: auto;
  background-color: #fff;
  z-index: 1000;
}
.workbench.no-sidebar .sidebar {
  display: none;
}
/* Separator */
.workbench .move-zone {
  position: absolute;
  top: 0;
  right: 500px;
  bottom: 0;
  left: 200px;
  background-color: #fff;
  overflow: visible;
}
.workbench .move-zone>.separator {
  position: absolute;
  top: 0;
  left: 100px;
  bottom: 0;
  width: 3px;
  cursor: ew-resize;
}
.workbench .move-zone>.separator::before,
.workbench .move-zone>.separator::after {
  position: absolute;
  top: 0;
  bottom: 0;
  content: " ";
}
.workbench .move-zone>.separator::before {
  left: 0;
  border-left: 1px solid #ddd;
}
.workbench .move-zone>.separator::after {
  right: 0;
  border-right: 1px solid #ddd;
}
/* Editor composite */
.workbench .composite {
  position: absolute;
  top: 0;
  right: 0;
  left: 303px;
  height: 100%;
  overflow: hidden;
  background-color: #fff;
}
.workbench.no-sidebar .composite {
  left: 0 !important;
}
.workbench .composite>div>.nav-tabs {
  width: 10000%;
  border-bottom-color: #ccc;
}
.workbench .composite>div>.nav-tabs>li {
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}
.workbench .composite>div>.nav-tabs>li>a i {
  height: 20px;
  line-height: 20px;
  vertical-align: top;
}
.workbench .composite>div>.nav-tabs>li>a span {
  display: inline-block;
  vertical-align: top;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workbench .composite>div>.nav-tabs>li.active>a,
.workbench .composite>div>.nav-tabs>li.active>a:hover,
.workbench .composite>div>.nav-tabs>li.active>a:focus {
  border-color: #ccc;
  border-bottom-color: transparent;
}
.workbench .composite>div>.nav-tabs>li.highlight {
  background-color: #fafad2 !important;
}
.workbench .composite>div>.nav-tabs>li .changed {
  position: absolute;
  top: 7px;
  left: 2px;
  color: #ccc;
  font-size: 1.5em;
  z-index: 1000;
}
.workbench .composite>div>.nav-tabs>li.active .changed {
  color: #cd5c5c;
}
.workbench .composite>div>.nav-tabs>li .closeable {
  visibility: hidden;
}
.workbench .composite>div>.nav-tabs>li.active .closeable,
.workbench .composite>div>.nav-tabs>li .closeable.active {
  visibility: visible;
}
/* File list */
.workbench .composite li.file-list {
  background-color: #fff;
  overflow: visible !important;
}
.workbench .composite li.file-list.fixed {
  position: absolute;
  top: 0;
  right: -2px;
}
.workbench .composite li.file-list>a {
  padding: 6px 12px;
  border-bottom: 1px solid #ccc;
}
.workbench .composite li.file-list>.dropdown-menu {
  width: 360px;
  max-height: 532px;
  overflow: auto;
  z-index: 1050;
}
.workbench .composite li.file-list>.dropdown-menu-right {
  right: 2px;
}
.workbench .composite li.file-list>.dropdown-menu>li>a {
  padding-left: 13px;
  padding-right: 13px;
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workbench .composite li.file-tab>a {
  padding: 6px 12px
}
.workbench .composite .tab-content {
  position: absolute;
  top: 34px;
  right: 0;
  bottom: 0;
  left: 0;
}
.workbench .composite .tab-pane {
  display: block;
  position: absolute;
  top: -10000px;
  left: -10000px;
}
.workbench .composite .tab-pane.active {
  top: 0;
  left: 0;
}
.workbench .composite .tab-pane,
.workbench .composite .tab-pane>.edit-zone,
.workbench .composite .tab-pane>.edit-zone>div,
.workbench .composite .tab-pane>.edit-zone>div>pre {
  margin: 0;
  width: 100%;
  height: 100%;
}
/* Statusbar */
.workbench .statusbar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 41px;
  border-top: 1px solid #ddd;
  background-color: #fdfdfd;
}
.workbench.no-statusbar .statusbar {
  display: none;
}
.workbench .statusbar .row>div {
  padding-left: 10px;
  padding-right: 10px;
  height: 40px;
  line-height: 40px;
  overflow: hidden;
}
.workbench .statusbar span {
  display: inline-block;
  vertical-align: middle;
}
.workbench .statusbar span>.divider {
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  height: 18px;
  margin: 6px 15px 6px 50px;
  background-color: #777;
}
.workbench .statusbar span:first-child>.divider {
  margin-left: 0;
}

@media (max-width: 1024px) {
  .navbar {
    width: 1024px;
  }
  .navbar-nav {
    float: left;
    margin: 0;
  }
  .navbar-nav>li {
    float: left;
  }
  .navbar-nav>li>a {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .navbar-nav.navbar-right {
    float: right;
    margin-right: -15px;
  }
  .navbar-nav .open .dropdown-menu {
    position: absolute;
    float: left;
    width: auto;
    margin-top: 0;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  }
  .navbar-nav .open .dropdown-menu>li.divider {
    background-color: #e5e5e5 !important;
  }
  .navbar-nav .open .dropdown-menu>li>a {
    padding: 3px 20px 3px 30px;
    color: #333 !important;
    line-height: 1.42857143;
  }
  .navbar-nav .open .dropdown-menu>li>a:hover,
  .navbar-nav .open .dropdown-menu>li>a:focus {
    color: #262626 !important;
    background-color: #f5f5f5 !important;
    background-image: none;
  }
  .navbar-nav .open .dropdown-submenu>.dropdown-menu {
    margin-top: -6px;
  }
  .navbar-header {
    float: left;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .navbar .navbar-header>.navbar-brand {
    margin-left: -15px;
  }
  .navbar-collapse {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-left: 0;
    padding-right: 0;
    width: auto;
    border-top: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .navbar-form {
    /* width: auto; */
    border: 0;
    /* margin-left: 0; */
    /* margin-right: 0; */
    padding-top: 0;
    padding-bottom: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .workbench {
    right: auto;
    width: 1024px;
  }
}
@media (max-height: 700px) {
  .workbench {
    bottom: auto;
    height: 648px;
  }
  .no-navbar .workbench {
    height: 699px;
  }
}

/*
 * Components
 */

/* zTree.v3 */
.ztree .button.module_ico_open,
.ztree .button.module_ico_close,
.ztree .button.module_ico_docu {
  margin: 4px 0 0 4px;
  font: normal normal normal 14px/1 FontAwesome;
  vertical-align: top;
  background: none;
}
.ztree .button.module_ico_open::before,
.ztree .button.module_ico_close::before,
.ztree .button.module_ico_docu::before {
  content: "\f009";
}

/* Context menu */
.contextmenu {
  position: fixed;
  top: -1000px;
  left: -1000px;
  z-index: 2020;
}
.contextmenu>.dropdown-menu {
  margin: 0;
}

/* Dropdown menu */
.navbar .dropdown-menu,
.menubar .dropdown-menu,
.contextmenu .dropdown-menu {
  min-width: 180px;
  z-index: 2020;
}
.menubar .dropdown-menu .divider,
.combobox .dropdown-menu .divider,
.contextmenu .dropdown-menu .divider {
  margin-top: 5px;
  margin-bottom: 5px;
}
.navbar .dropdown-menu>li>.btn,
.menubar .dropdown-menu>li>.btn,
.contextmenu .dropdown-menu>li>.btn {
  display: block;
  width: 100%;
  border: none;
  text-align: left;
  padding-top: 5px;
  padding-bottom: 5px;
}
.navbar .dropdown-menu>li>.btn:hover,
.navbar .dropdown-menu>li>.btn:focus,
.navbar .dropdown-menu>li>.btn:active,
.menubar .dropdown-menu>li>.btn:hover,
.menubar .dropdown-menu>li>.btn:focus,
.menubar .dropdown-menu>li>.btn:active,
.contextmenu .dropdown-menu>li>.btn:hover,
.contextmenu .dropdown-menu>li>.btn:focus,
.contextmenu .dropdown-menu>li>.btn:active {
  outline: none;
  box-shadow: none;
  color: #262626;
  background-color: #f5f5f5;
}
.navbar .dropdown-menu>li>a,
.navbar .dropdown-menu>li>.btn,
.menubar .dropdown-menu>li>a,
.menubar .dropdown-menu>li>.btn,
.contextmenu .dropdown-menu>li>a,
.contextmenu .dropdown-menu>li>.btn {
  padding-left: 30px;
  padding-right: 15px;
}
.navbar .dropdown-menu>li>a>.fa.pull-left,
.navbar .dropdown-menu>li>.btn>.fa.pull-left,
.menubar .dropdown-menu>li>a>.fa.pull-left,
.menubar .dropdown-menu>li>.btn>.fa.pull-left,
.contextmenu .dropdown-menu>li>a>.fa.pull-left,
.contextmenu .dropdown-menu>li>.btn>.fa.pull-left {
  margin-left: -24px;
  /* margin-right: 0.5em; */
  line-height: 1.42857143;
}
.navbar .dropdown-menu.icon-menu .fa,
.menubar .dropdown-menu.icon-menu .fa,
.contextmenu .dropdown-menu.icon-menu .fa {
  width: 1.4em;
  text-align: center;
}

/* Dropdown submenu */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu>.dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  border-radius: 0;
}
.dropdown-submenu.dropup>.dropdown-menu {
  top: auto;
  bottom: 0;
  margin-bottom: -6px;
}
.dropdown-submenu>.dropdown-menu.dropdown-menu-right {
  left: auto;
  right: 100%;
  margin-top: -6px;
  margin-left: 0;
  margin-right: -1px;
}
.dropdown-submenu.hover:hover>.dropdown-menu {
  display: block;
}
.dropdown-submenu.hover:hover>a,
.dropdown-submenu.hover:hover>.btn {
  color: #262626;
  background-color: #f5f5f5;
}
.dropdown-submenu.hover>a:after,
.dropdown-submenu.hover>.btn:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}
.dropdown-submenu.pull-left {
  float: none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
  left: -100%;
  margin-left: 10px;
  border-radius: 0;
}

/* Combobox */
.combobox>input {
  background-color: #fff !important;
}
.combobox>.input-handler {
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  opacity: 0.001;
}
.combobox.input-group {
  width: 100%;
}
.combobox.input-group>.input-group-btn {
  position: static;
}
.combobox.input-group .btn.dropdown-toggle {
  padding-left: 8px;
  padding-right: 8px;
}
.combobox.input-group>.input-group-btn>.dropdown-menu {
  width: 100%;
  min-width: auto;
  max-height: 304px;
  user-select: none;
  overflow: auto;
}
.combobox .dropdown-menu>.active>a,
.combobox .dropdown-menu>.active>a:hover,
.combobox .dropdown-menu>.active>a:focus {
  color: #333;
  background-color: #ddd;
  border-color: #ddd;
}

/* Directory tree */
.dirtree {
  margin-top: 5px;
  width: 100%;
  min-height: 200px;
  max-height: 300px;
  border: 1px solid #ddd;
  overflow: auto;
}
.dirtree>.ztree .button.folder_ico_docu {
  margin-right: 2px;
  margin-right: 2px;
  background-position: -147px 0;
  vertical-align: top;
}
.dirtree>.ztree .button.file_ico_docu {
  margin-right: 2px;
  background-position: -147px -42px;
  vertical-align: top;
}

/* Color picker */
 .color-picker>.dropdown-menu>li {
   width: 345px;
 }
.color-picker>.dropdown-menu .forecolor,
.color-picker>.dropdown-menu .backcolor {
  float: left;
  margin-left: 13px;
  padding: 6px 0;
}
.color-picker>.dropdown-menu .forecolor input,
.color-picker>.dropdown-menu .backcolor input {
  text-align: center;
}

/* Table picker */
.table-picker>.dropdown-menu {
  min-width: auto;
}
.table-picker>.dropdown-menu>li {
  width: 175px;
}
.table-picker>.dropdown-menu table {
  margin: 5px 10px;
  border-collapse: separate;
  border-spacing: 2px;
}
.table-picker>.dropdown-menu table>tbody td {
  width: 15px;
  height: 15px;
  border: 1px solid #ccc;
  /* background-color: #eee; */
}
.table-picker>.dropdown-menu table>tbody td.selected {
  border-color: #9cc9f0;
  background-color: #eff5fa;
}

/* Header list */
.header-list>.dropdown-menu>li>a>span {
  display: block;
  margin: 5px 0;
}
/* Source code */
.source-code>.dropdown-menu>li>a {
  margin-top: 5px;
  margin-bottom: 5px;
}
.source-code>.dropdown-menu>li>a hr {
  margin-top: 3px;
  margin-bottom: 0;
}
.source-code>.dropdown-menu>li>a blockquote {
  margin-bottom: 0;
  padding: 4px 10px;
  font-size: 100%;
}
.source-code>.dropdown-menu>li>a code {
  margin: 5px 0;
  font-size: 14px;
}
.source-code>.dropdown-menu>li>a pre {
  margin-bottom: 0;
  padding: 4px 8px;
}
.source-code>.dropdown-menu>li>a pre>code {
  font-size: 90%;
}

/* Markdown */
.markdown {
  position: relative;
}
.markdown>div {
  padding-left: 0;
  padding-right: 0;
  height: 100%;
  overflow: auto;
}
.markdown>div>div,
.markdown>div>div>pre {
  margin: 0;
  width: 100%;
  height: 100%;
}
.markdown .hljs {
  padding: 0;
  background-color: transparent;
}
.markdown>div.writer {
  z-index: 120;
}
.markdown.preview,
.markdown>div.viewer {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  padding: 5px;
  border: 1px solid #ccc;
  border-left-width: 5px;
}
.markdown.preview {
  padding: 15px;
  border: none;
}
.markdown.preview table,
.markdown>div.viewer table {
  width: auto;
  min-width: 10%;
}
.markdown.preview img, 
.markdown>div.viewer img {
  max-width: 100%;
}
.markdown.preview blockquote,
.markdown>div.viewer blockquote {
  font-size: 15px;
  padding: 10px;
  margin: 0 0 15px;
}
.markdown.preview pre>code,
.markdown>div.viewer pre>code {
  font-size: 14px;
}
.markdown-preview.modal {
  overflow: auto;
}
.markdown-preview .modal-dialog {
  margin: 0;
  width: auto;
  height: auto;
}
.markdown-preview .modal-content {
  height: auto;
  min-height: 500px;
  margin-bottom: 0;
}
.markdown .move-zone {
  position: absolute;
  right: 20%;
  left: 20%;
}
.markdown .move-zone>.separator {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  cursor: ew-resize;
  background-color: #fff;
  z-index: 110;
}

/* ACE */
.editor .ace_editor {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.42857143;
}
.editor .ace_editor .ace_indent-guide {
  display: inline-block;
  height: 100%;
}
.editor .ace_gutter .git-diff-add {
  background-color: #ddfbe6;
  border-color: #c7f0d2;
}
.editor .ace_gutter .git-diff-remove {
  background-color: #f9d7dc;
  border-color: #fac5cd;
}
.editor .ace_content .git-diff-add {
  background-color: #ecfdf0;
}
.editor .ace_content .git-diff-remove {
  background-color: #fbe9eb;
}

/* Summernote */
.summernote .hljs {
  padding: 0;
  background-color: transparent;
}
.summernote .note-editor {
  height: 100%;
}
.summernote .note-editor.note-frame {
  border: 1px solid #ccc;
}
.summernote .note-editor>.note-editing-area,
.summernote .note-editor>.note-editing-area>.note-editable {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  height: 100%;
  cursor: text;
}
.summernote .note-editor>.note-statusbar {
  display: none;
}
.summernote .note-editor hr {
  margin-top: 10px;
  margin-bottom: 10px;
}
.summernote .note-editor table {
  width: auto;
  min-width: 10%;
}
.summernote .note-editor img {
  max-width: 100%;
}
.summernote .note-editor ol,
.summernote .note-editor ul {
  margin-bottom: 0;
}
.summernote .note-editor ol>li,
.summernote .note-editor ul>li {
  margin-bottom: 10px;
}
.summernote .note-editor blockquote {
  font-size: 15px;
  padding: 10px;
  margin: 0 0 15px;
}
.summernote .note-editor pre>code {
  font-size: 14px;
}

/* Handsontable */
.handsontable table.htCore td.htBold {
  font-weight: bold;
}
.handsontable table.htCore td.htItalic {
  font-style: italic;
}
.handsontable table.htCore td.htUnderline {
  text-decoration: underline;
}
.handsontable table.htCore td.htStrikethrough {
  text-decoration: line-through;
}
.handsontable table.htCore td.htUnderline.htStrikethrough {
  text-decoration: underline line-through;
}
.handsontable.htContextMenu .ht_master table.htCore,
.handsontable.htDropdownMenu .ht_master table.htCore {
  /* border: 1px solid rgba(0, 0, 0, 0.15); */
  border-width: 1px 1px 1px 1px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
.handsontable.htContextMenu .ht_master .wtHolder,
.handsontable.htDropdownMenu .ht_master .wtHolder {
  left: -2px;
}

/* ZRender */
.zrender {
  position: relative;
  border: 1px solid #ccc;
  overflow: hidden;
}
.zrender>.render-stage,
.zrender>.render-stage>.canvas {
  width: 100%;
  height: 100%;
}
.zrender>.render-stage>.handler {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}
.zrender>.render-stage textarea {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  padding: 0 1px;
  margin: 0 -1px;
  font-size: 1px;
  cursor: default;
  border: none;
  resize: none;
  outline: none;
  background: transparent;
  appearance: none;
  user-select: text;
  contain: strict;
  overflow: hidden;
  opacity: 1;
  z-index: 0;
}
.zrender .ui-resizable {
  position: relative;
}
.zrender .ui-resizable .ui-tooltip {
  position: absolute;
  left: 0;
  bottom: -30px;
  padding: 2px;
  font-size: 12px;
  color: #fff;
  background-color: rgb(67, 149, 255);
}
.zrender .ui-resizable .ui-resizable-handle {
  position: absolute;
  width: 7px;
  height: 7px;
  font-size: 0.1px;
  border: 1px solid #000;
  background-color: #fff;
}
.zrender .ui-resizable .ui-resizable-n {
  top: -4px;
  left: calc(50% - 3px);
  cursor: n-resize;
}
.zrender .ui-resizable .ui-resizable-e {
  top: calc(50% - 3px);
  right: -4px;
  cursor: e-resize;
}
.zrender .ui-resizable .ui-resizable-w {
  top: calc(50% - 3px);
  left: -4px;
  cursor: w-resize;
}
.zrender .ui-resizable .ui-resizable-s {
  bottom: -4px;
  left: calc(50% - 3px);
  cursor: s-resize;
}
.zrender .ui-resizable .ui-resizable-ne {
  top: -4px;
  right: -4px;
  cursor: ne-resize;
}
.zrender .ui-resizable .ui-resizable-nw {
  top: -4px;
  left: -4px;
  cursor: nw-resize;
}
.zrender .ui-resizable .ui-resizable-se {
  bottom: -4px;
  right: -4px;
  cursor: se-resize;
}
.zrender .ui-resizable .ui-resizable-sw {
  bottom: -4px;
  left: -4px;
  cursor: sw-resize;
}
.zrender .ui-resizable .ui-rotatable-handle {
  position: absolute;
  top: -23px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border: 1px solid #000;
  border-radius: 50%;
  background-color: #fff;
}

/* Image Viewer */
.image-viewer {
  position: relative;
  border: 1px solid #ccc;
  overflow: auto;
}
.image-viewer .magnify-modal {
  position: relative;
  z-index: 1000 !important;
}
.image-viewer .magnify-header {
  display: none !important;
}
.image-viewer .magnify-stage {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  border-width: 0 0 1px 0;
}
.image-viewer .magnify-button svg {
  width: 1.2em;
  height: 1.2em
}

/* Media Viewer */
.media-viewer {
  position: relative;
  width: 100% ;
  height: 100%;
  border: 1px solid #ccc;
  overflow: auto;
}
.media-viewer .media-content {
  display: flex;
  width: 100% !important;
  min-height: 100% !important;
  align-items: center;
  justify-content: center;
}
.media-viewer .media-content>img {
  width: auto;
  height: auto;
  max-width: 100%;
}
.media-viewer .media-content>audio,
.media-viewer .media-content>video {
  margin: auto 0;
}
.media-viewer .media-content>iframe {
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: calc(100% - 5px);
  border-style: none;
}
.media-viewer .media-loading {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
}
.media-viewer .media-loading>.loading-info {
  margin: 0 auto;
  padding: 15px;
  width: 200px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-align: center;
  background-color: #fff;
}

/* Office Viewer */
.office-viewer {
  position: relative;
  border: 1px solid #ccc;
  background-color: rgba(0, 0, 0, 0.85);
  overflow: auto;
}
.office-viewer .office-content {
  margin: 0 auto;
  padding: 20px;
  width: 1024px;
  min-height: 100%;
  background-color: #fff;
}
.office-viewer .office-content img {
  max-width: 100%;
}

/* Blank Page */
.blank-page {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: center;
}

/* Mini View */
.mini .navbar,
.mini .workbench {
  left: 60px;
}
.mini .menubar {
  width: 60px;
}
.mini .menubar .navbar-brand>span,
.mini .menubar .nav-title {
  display: none;
}

/* Viewer bgColor */
.lightview .media-viewer>.media-content {
  background-color: #fff !important;
}
.lightview .office-viewer,
.lightview .image-viewer>.magnify-modal {
  background-color: rgba(0, 0, 0, 0.05);
}
.lightview .image-viewer>.magnify-modal {
  color: #777;
}
.lightview .image-viewer .magnify-stage {
  border-bottom: 1px solid #ccc;
}
.lightview .image-viewer .magnify-button:hover {
  color: #333;
}

/* Full Screen */
.fullscreen .navbar {
  display: none !important;
}
.fullscreen .workbench {
  top: 0 !important;
}
@media (max-height: 700px) {
  .fullscreen .workbench {
    height: 700px !important;
  }
}
.fullscreen .workbench .main {
  bottom: 0 !important;
}
.fullscreen .workbench .composite {
  left: 0 !important;
}
.fullscreen .workbench .sidebar {
  display: none !important;
}
.fullscreen .workbench .statusbar {
  display: none !important;
}
